﻿Imports BusinessRule.DTO

Public Interface uLMSUserLoginIBusiness
    ''' <summary>
    ''' 添加登录人信息（ip）
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function AddUserLoginInfo(ByVal para As Dictionary(Of String, String)) As Boolean

    ''' <summary>
    ''' create by Yagnsj 2018-11-19 
    ''' 根据菜单获取域账号
    ''' </summary>
    ''' <param name="MenuName"></param>
    ''' <param name="Usercount"></param>
    ''' <param name="UserName"></param>
    ''' <param name="Password"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetDomainUser(ByVal MenuName As String, ByVal Usercount As Dictionary(Of String, Integer), ByRef UserName As String, ByRef Password As String) As Boolean
    ''' <summary>
    '''create by Yagnsj 2018-11-19 
    ''' 根据分厂获取域账号
    ''' </summary>
    ''' <param name="FactoryName"></param>
    ''' <param name="UserName"></param>
    ''' <param name="Password"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetDomainUser(ByVal FactoryName As String, ByRef UserName As String, ByRef Password As String) As Boolean

    ''' <summary>
    ''' create by Yagnsj 2018-11-19 
    ''' 根据用户获取用户信息
    ''' </summary>
    ''' <param name="EmployeeName"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetEmployeeByName(ByVal EmployeeName As String) As uMES_AjaxEmployeeDto
    ''' <summary>
    ''' create by Yagnsj 2018-11-19 
    ''' 根据用户获取用户信息
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetEmployeeByCardNum(ByVal CardNum As String) As uMES_AjaxEmployeeDto
End Interface
